<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>发件详细填写</title>


<link href="css/shoppingCarAndMyCustom.css" type="text/css" rel="stylesheet" />
<link href="css/login.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/address.js"></script>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="js/login.js"></script>
<script type="text/javascript" src="js/myCustonAndShoppingCar/shoppingCar.js"></script>


</head>
<body onload="loadData('selProvance','selCity','selArea')">
<jsp:include page="top.jsp"></jsp:include>
<br />
		    	<table style="display:none">
		    	<% int tt=0; %>
		    	<c:forEach items="${resList}" var="r">
		    		<tr>
		    			<td>
		    				<div class="shoppingCar_right_pic">
		    					<img src="${r.pic}" width="195px" height="168px" name="shoppingcarpicture" id="shoppingcarpicture"/>
		    				</div>
		    			</td>
		    			<td>
		    				<div class="shoppingCar_right_pic">
		    					<input type="hidden" value="${r.orderOrCustom }${r.number}" name="IDmsg" id="IDmsg"/>
								主题：${r.theme}<br /><input type="hidden" value="${r.theme}" name="orderthemearray" id="orderthemearray"/>
								编号：${r.number}<br />
								数量：<input type="text" value="${r.count }" style="width:20px;" onblur="checkNumber()" id="buyCount" name="buyCount"/>（套）<br />
								价格：￥${r.price} <br />
					 			户名：${customer.userName }<br /><input type="hidden" value="${customer.userRealName }" id="hidename"/>
								电话：${customer.userMobilePhone }<br /><input type="hidden" value="${customer.userMobilePhone }" id="hidephone"/>
								地址：${customer.userAddress }<br /><br /><input type="hidden" value="${customer.userAddress }" id="hideaddr"/>
								设计时间：${r.time_bak}<br /><input type="hidden" value="${r.content }" id="contentAtshop"/>
					          	<input type="button" value="重设计" 
					          		style="border:0;background-color:#94b8e9;" 
					          		onclick="reDesignAtShoppingCar(<%=tt%>)" 
					          		/>
					          	<input type="hidden" id="hiddendetail<%=tt++%>" value="${r.bgPic},${r.detail}"/>
					          	<!-- <input type="button" value="删除" style="border:1px #FFFFFF solid;background-color:#94b8e9;"/> -->
					          	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					          	<input type="checkbox" checked="checked" name="checkbox1" id="checkbox1"/>
					          	付款
							</div>
		    			</td>
		    		</tr></c:forEach>
		    	</table>
		    	<div>
		    	<table align=center>
		    		<tr><td style="text-align:left">
		    			<font color="blue">*</font>写收件人：<input type="text" id="username" onblur="checkUsername()" onfocus="usernameFocus()" value="写收件人真实姓名" style="color:#8a8a8a" />
		    			<font id="usernameMsg" color="blue"></font>
		    		</td></tr>
		    		<tr><td style="text-align:left;">
		    			<table><tr><td>收件地址：</td><td>
		    				<select  style="float: left;" id="selProvance" onchange="chgProvinces('selProvance','selCity','selArea')"></select>
							<select  style="margin-left: 10px; float: left;" id="selCity" onchange="chgCitys('selCity','selArea')"></select> 
							<select  id="selArea" name="area" style="margin-left: 10px; float: left;"></select>
		    			</td></tr></table>
		    		</td></tr>
		    		<tr><td style="text-align:left">
		    			<font color="blue">*</font>详细地址：<input type="text" id="address" onblur="checkkAddress()"/>
		    			<font id="addressMsg" color="blue"></font>
		    		</td></tr>
		    		<tr><td style="text-align:left">
		    			<font color="blue">*</font>邮政编码：<input type="text" id="mail" onblur="checkMail()" onfocus="mailFocus()" value="写6位邮政编码" style="color:#8a8a8a" />
		    			<font id="mailMsg" color="blue"></font>
		    		</td></tr>
		    		<tr><td style="text-align:left">
		    			&nbsp;电话号码：<input type="text" style="width:40px;" onblur="checkPhone()" id="specialplane1"/>-<input type="text" onblur="checkPhone()" id="specialplane2"/><font id="specialplaneMsg" color="blue">如：0000-12345678</font>
		    		</td></tr>
		    		<tr><td style="text-align:left">
		    			<font color="blue">*</font>手机号码：<input type="text" id="telephone" onblur="checkMobile()"/>
		    			<font id="telephoneMsg" color="blue"></font>
		    		</td></tr>
		    		<tr><td style="text-align:left">
		    			<table><tr><td id="makeSure1">
		    				&nbsp;<input type="button" style="border-style:dashed" value="确定" onclick="checkAllInput()"/>
		    			</td><td id="makeSure2" style="display:none">
		    				&nbsp;<input type="button" style="border-style:dashed" value="返回修改" onclick="backToCheck()"/>
		    			</td></tr></table>
		    		</td></tr>
		    	</table></div>
		    	
		    	<div>	
		    		<input type="checkbox"/>
		    		<img src="img/shoppingCar_zhifubao.png" width="8%" />
		    	</div>
		    	<div>
		    		<input type="button" value="付款 ☞"/>
				</div>
 <jsp:include page="bottom.jsp"></jsp:include>
</body>
</html>